package com.example.api.dao;

import com.example.api.model.entity.Sale;

import java.util.List;

public interface SaleDao {

    int deleteByPrimaryKey(Integer id);

    int insert(Sale record);

    int insertSelective(Sale record);

    Sale selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Sale record);

    int updateByPrimaryKey(Sale record);

    List<Sale> findAll(String name);
    
}